<template>
	<comment v-for="item in data" :key="item.id" :data="item"></comment>
	<empty msg="暂无评价" v-if="data.length === 0"></empty>
	<view class="bpad"></view>
</template>

<script setup lang="ts">
	import { onLoad,onPullDownRefresh,onReachBottom } from "@dcloudio/uni-app"
	import { usePaging } from "../../lib/ts/util";


	const {
		data,
		reload,
		getMore
	} = usePaging('/api/master/GetMarkInfo')

	
	
	onLoad(options=>{
		user_id = options.id
		reload({user_id})
	})
	onPullDownRefresh(()=>{
		reload({user_id})
	})
	onReachBottom(()=>{
		getMore({user_id})
	})
	
	let user_id = 0
	
	
	
	


</script>

<style scoped lang="scss">
	
	
	
	
	
</style>
